package com.cn.crmsystem.mapper.approveMapper;

import com.cn.crmsystem.pojo.Approve;
import com.cn.crmsystem.pojo.Overtime;
import com.cn.crmsystem.pojo.Reimbursement;
import com.cn.crmsystem.pojo.User;

import java.util.List;

public interface OverTimeMapper {
	/*//领导id查询
	Integer selectleaderId(Integer userid);
	//领导名查询
	User selectleader(Integer leaderid);
	//加班表插入
	int InsertOverTime (Overtime overtime);
	//关联插入审批表
	int InsertApprove (Integer leader,Integer overtime_id,Integer type);
	//通过拒绝 update 加班表
	int UpdateOverTime(Integer appid,Integer state);
	//我发出查询加班列表
	List<Approve> selectMYOverTime (Integer userid);
	//待我审核列表
	List<Approve> selectApproveOverTime(Integer userid);
	//删除加班表
	int DeleteOverTime (Integer overtime_id);
	//加班id查询
	int OverTimeid(Integer appid);
	//删除审核表
	int DeleteApprove (Integer appid);
	//我的条件查询
	List<Approve> selectMyCondition(Integer userid, String state);
	//我审核条件查询
	List<Approve> selectApproveCondition(Integer userid, String state);*/
}
